package com.yuliang.ai.service;

import com.alibaba.fastjson.JSONObject;
import com.yuliang.ai.domain.Vo.ChatAnsVo;
import com.yuliang.ai.domain.Vo.ChatDoubaoVo;
import com.yuliang.ai.domain.Vo.ChatVo;
import com.yuliang.ai.domain.Vo.StopChatAnsVo;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Huangkai
 */
public interface AiUiService {

    /**
     * aiui处理
     * */
    String aiuiOperation(HttpServletRequest request, String token);

    /**
     * 豆包获取视频流
     * @param jsonObject
     * @param text
     * @return
     */
    String getVideoStream(JSONObject jsonObject, String text);

    /**
     * 获取会话列表
     * @param chatAnsVo
     * @return
     * */
    String chatAnslist(@RequestBody ChatAnsVo chatAnsVo);
    /**
     * 暂停大模型会话
     * @param chatVo
     * @return
     * */
    String stopChatAns(ChatVo chatVo);

}
